<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="{{asset('')}}css/public.css">
    <title>登录</title>
</head>
<body>
@if($errors)
    <ul>
        @foreach($errors->all() as $error)
            <li>{{$error}}</li>
            @endforeach
    </ul>
@endif
<form action="{{route('admin.login.login')}}" method="post">
    {{ csrf_field() }}
    <table class="table">
        <tr>
            <th colspan="2">
                用户登录
            </th>
        </tr>
        <tr>
            <th>用户名：</th>
            <td>
                <input type="text" name="username" placeholder="请输入用户名名" autocomplete="off">
            </td>
        </tr>
        <tr>
            <th>密 码：</th>
            <td>
                <input type="password" name="password" placeholder="请输入密码" autocomplete="off">
            </td>
        </tr>
        <tr>
            <td>

            </td>
            <td>
                <input type="submit" value="登录">
                <input type="reset" value="重置">
            </td>
        </tr>
    </table>
</form>
</body>
</html>